/*
    在ts or js 引入的是redux
    如果在jsx or tsx 引入的是react-redux
*/ 

import {
    legacy_createStore as createStore,
    applyMiddleware
} from "redux"

import thunk from "redux-thunk"
import logger from "redux-logger"
import reducer from "./reducer"

export default createStore(reducer,applyMiddleware(thunk,logger))

